//
//  LBFramebuffer.h
//  OpenGLGame
//
//  Created by Nguyen Cong Huy on 11/16/12.
//  Copyright (c) 2012 UIT. All rights reserved.
//

#ifndef OpenGLGame_LBFramebuffer_h
#define OpenGLGame_LBFramebuffer_h

class LBTexture;
class LBFramebuffer {
    GLuint frameBuffer;
    LBTexture* texture;
public:
    LBFramebuffer(LBTexture* textureToRenderTo);
    ~LBFramebuffer();
    void beginRenderToTexture();
    void imageData(GLubyte** imgData);
};

#endif
